package com.demo.scenic.domain.vo;

import com.demo.scenic.domain.Role;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@ApiModel(value="用户信息表")
@Data
public class UserVo {
    @ApiModelProperty("id")
    Integer id;
    @ApiModelProperty("账号")
    String mobile;
    @ApiModelProperty("用户名")
    String username;
    @ApiModelProperty("头像")
    String avatar;
    @ApiModelProperty("角色")
    List<String> role;
    @ApiModelProperty(value = "身份，USER-用户；MERCHANT-商家；ALL-全部")
    String identity;
    @ApiModelProperty(value = "绑定的商家id")
    String scenicId;

}
